<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
	<base href="<%=basePath%>">
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<script type="text/javascript" src="js/jquery-1.11.0.min.js"> </script> 
	<title>会员详细信息</title>
<style type="text/css">
<!--
body {
	font-family: Arial, Helvetica, sans-serif;
	font-size:12px;
	color:#666666;
	background:#fff;
	text-align:center;

}

* {
	margin:0;
	padding:0;
}

a {
	color:#1E7ACE;
	text-decoration:none;	
}

a:hover {
	color:#000;
	text-decoration:underline;
}
h3 {
	font-size:14px;
	font-weight:bold;
}

pre,p {
	color:#1E7ACE;
	margin:4px;
}
input, select,textarea {
	padding:1px;
	margin:2px;
	font-size:12px;
}
.buttom{
	padding:1px 10px;
	font-size:12px;
	border:1px #1E7ACE solid;
	background:#D0F0FF;
}
#formwrapper {
	width:95%;
	margin:15px auto;
	padding:20px;
	text-align:left;
}

fieldset {
	padding:10px;
	margin-top:5px;
	border:1px solid #1E7ACE;
	background:#fff;
}

fieldset legend {
	color:#1E7ACE;
	font-weight:bold;
	background:#fff;
}

fieldset label {
	float:left;
	width:120px;
	text-align:right;
	padding:4px;
	margin:1px;
}

fieldset div {
	clear:left;
	margin-bottom:2px;
}

.enter{ text-align:center;}
.clear {
	clear:both;
}

-->
</style>
</head>
<body>
<div id="formwrapper">
	<h3>会员信息</h3>
		<fieldset>
			<legend>会员信息</legend>
			
			<div class="enter">
			<table border="0">
				<tr>
					<td align="right">卡号：</td>
					<td align="left">${user.cardno }</td>
				</tr>
				<tr>
					<td align="right">姓名：</td>
					<td align="left">${user.name }</td>
				</tr>
				<tr>
					<td align="right">性别：</td>
					<td align="left"><c:if test="${user.sex == 0}">男</c:if><c:if test="${user.sex == 1}">女</c:if></td>
				</tr>
				<tr>
					<td align="right">地址：</td>
					<td align="left">${user.address }</td>
				</tr>
				<tr>
					<td align="right">电话：</td>
					<td align="left">${user.phone }</td>
				</tr>
				<tr>
					<td align="right">身份证：</td>
					<td align="left">${user.idcard }</td>
				</tr>
				<tr>
					<td align="right">微博账户：</td>
					<td align="left">${user.webchatid }</td>
				</tr>
				<tr>
					<td align="right">备注：</td>
					<td align="left">${user.note }</td>
				</tr>
			</table>
			</div>
				
			<div class="enter">
			    <input name="return" type="button" class="buttom" value="返回列表页面" onclick="window.location = 'user/showUser.action'"/>
			</div>
		</fieldset>
</div>
</body>
</html>

